﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace PrintLabel.Tools
{
     class ShowMessage
    {
        public static void ShowErrorMessagebox(Form form,string content)
        {
            AntdUI.Modal.open(new AntdUI.Modal.Config((Form)form, "唛头打印", content, AntdUI.TType.Warn));
        }
        public static DialogResult ShowAskMessagebox(Form form, string content)
        {
           return   AntdUI.Modal.open(new AntdUI.Modal.Config((Form)form, "唛头打印", content, AntdUI.TType.Info ));
        }
    }
}
